﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="EditPassword.ascx.cs" Inherits="UserControl_ChangePassword" %>
<asp:MultiView ID="MultiView1" runat="server">
    <asp:View ID="View1" runat="server">
        <table>
            <tr>
                <td>
                    Username</td>
                <td>
                    <asp:TextBox ID="txtUsername" runat="server" CssClass="required" MaxLength="20" 
                        minlength="5"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Email</td>
                <td>
                    <asp:TextBox ID="txtEmail" runat="server" CssClass="required email"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Password</td>
                <td>
                    <asp:TextBox ID="txtPassword" runat="server" CssClass="required" minlength="5" 
                        TextMode="Password"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    New password</td>
                <td>
                    <asp:TextBox ID="txtNewPassword" runat="server" CssClass="required" 
                        minlength="5" TextMode="Password"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Confirm new password</td>
                <td>
                    <asp:TextBox ID="txtConfirmNewPassword" runat="server" CssClass="required" 
                        minlength="5" TextMode="Password"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Literal ID="msg" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:LinkButton ID="lbtnSubmit" runat="server" OnClick="lbtnSubmit_Click" 
                        Text="Submit" />
                    <td>
                </td>
            </tr>
        </table>
    </asp:View>
    <asp:View ID="View2" runat="server">
        <h2>Change password successfully!</h2>
    </asp:View>
</asp:MultiView>



